{% extends "layout/basic.html" %}
{% block content %}
<div class="row" data-sticky-parent>
  <div class="medium-9 columns">
  {% block coin_content %}{% endblock %}
  </div>
  <div class="medium-3 columns"><div data-sticky="large">
    <div class="section side">
      <ol class="menu">
        <li class="menu__item">
          <div class="menu__link expandable">
            <span class="icon icon-bold"></span> {{ _('硬币管理') }}
          </div>
          <ol class="menu collapsed">

            <li class="menu__item" id="menu-item-coin_show">
            <a class="menu__link{% if page_name == '展示硬币' %} active{% endif %}" href="{{ url('coin_show') }}">
              {{ _('展示所有人的硬币余额') }}
            </a>
            </li>
            <li class="menu__item" id="menu-item-coin_bill">
            <a class="menu__link{% if page_name == '发放记录' and udoc._id==handler.user._id %} active{% endif %}" href="{{ url('coin_bill') }}">
              {{ _('查看我的硬币发放记录') }}
            </a>
            </li>
            <li class="menu__item" id="menu-item-coin_all">
            <a class="menu__link{% if page_name == '发放记录' and udoc._id==0 %} active{% endif %}" href="{{ url('coin_bill') }}?uid=0">
              {{ _('查看所有人的硬币发放记录') }}
            </a>
            </li>
            <li class="menu__item" id="menu-item-coin_inc">
            <a class="menu__link{% if page_name == '发放硬币' %} active{% endif %}" href="{{ url('coin_inc') }}">
              {{ _('发放硬币') }}
            </a>
            </li>
            <li class="menu__item" id="menu-item-coin_import">
            <a class="menu__link{% if page_name == '批量发放硬币' %} active{% endif %}" href="{{ url('coin_import') }}">
              {{ _('批量发放硬币') }}
            </a>
            </li>
          </ol>
        </li>
      </ol>
    </div>
  </div></div>
</div>
{% endblock %}
